home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / ENROLS1.PAK / SECTFORM.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  66 lines

  1. // SectForm.h : interface of the CSectionForm class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CSectionSet;
  6.  
  7. class CSectionForm : public CRecordView
  8. {
  9. protected: // create from serialization only
  10.     CSectionForm();
  11.     DECLARE_DYNCREATE(CSectionForm)
  12.  
  13. public:
  14.     //{{AFX_DATA(CSectionForm)
  15.     enum{ IDD = IDD_ENROLL_FORM };
  16.     CSectionSet* m_pSet;
  17.     //}}AFX_DATA
  18.  
  19. // Attributes
  20. public:
  21.     CEnrollDoc* GetDocument();
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CSectionForm)
  29.     public:
  30.     virtual CRecordset* OnGetRecordset();
  31.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32.  
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     virtual void OnInitialUpdate(); // called first time after construct
  36.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  37.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  38.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~CSectionForm();
  44. #ifdef _DEBUG
  45.     virtual void AssertValid() const;
  46.     virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48.  
  49. protected:
  50.  
  51. // Generated message map functions
  52. protected:
  53.     //{{AFX_MSG(CSectionForm)
  54.         // NOTE - the ClassWizard will add and remove member functions here.
  55.         //    DO NOT EDIT what you see in these blocks of generated code !
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.  
  60. #ifndef _DEBUG  // debug version in SectForm.cpp
  61. inline CEnrollDoc* CSectionForm::GetDocument()
  62.    { return (CEnrollDoc*)m_pDocument; }
  63. #endif
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66.